package com.zy.cat.entity.app;

import org.springframework.data.annotation.Id;

import org.springframework.data.mongodb.core.mapping.Document;

import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.RequiredArgsConstructor;

/**
 * 
 * @info 9趣猫用户留存登录信息
 * @author Link
 * @date 2019-10-30 08:56
 */
@Data
@RequiredArgsConstructor
@ApiModel("9趣猫App消息通知信息")
@Document
public class CatAppNotice {
	
	@Id
	@ApiModelProperty(value = "id[9趣猫App消息通知信息]", example = "")
    private String id;
	
	@ApiModelProperty(value = "消息类型(0.游戏 、1.商品 、2、福利中心、3.其他)", example = "1")
    private int mtype;
	
	@ApiModelProperty(value = "设备类型（-1.全部、0.安卓、1.IOS）", example = "1")
    private int ctype;
 
	@ApiModelProperty(value = "通知大标题", example = "")
    private String title;
	
	@ApiModelProperty(value = "通知小标题", example = "")
	private String desc;
	
	@ApiModelProperty(value = "图片", example = "")
	private String imgs;
	
	@ApiModelProperty(value = "访问链接", example = "")
	private String links;
	
	@ApiModelProperty(value = "商品ID(当消息类型为商品信息时会存在)", example = "")
	private String sid;
	
	@JsonProperty("show_type")
	@ApiModelProperty(value = "是否全屏显示(0.非全屏 、1.全屏展示)", example = "1")
    private int showType;
	
	@ApiModelProperty(value = "页面标题栏名称", example = "")
	@JsonProperty("title_bar_name")
	private String titleBarName;
	
	@ApiModelProperty(value = "审核类型(-1.已下线、0.审核中、1.审核成功)", example = "1")
    private int mstatus;
	
	@ApiModelProperty(value = "消息发布开始时间", example = "")
	private String stime;
	
	@ApiModelProperty(value = "消息发布结束时间", example = "")
	private String etime;
	 
	@ApiModelProperty(value = "消息创建时间", example = "")
	private String ctime;
}
